// import * as App from './app'

const user = {
    name: 'slm',
    detail: {
        sex: 'male',
        com: 'mi'
    }
}

const x = user?.detail?.sex

const userContent = document.getElementById('user')
const sexContainer = document.getElementById('sex')

userContent.innerText = JSON.stringify(user)
sexContainer.innerText = `user?.detail?.sex  => ${x}`